home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Part Server
- Sent: 7/9/96 4:26 PM
- Received: 7/9/96 4:51 PM
- From: Greg Friedman, friedman@cognosis.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Serge Froment wrote:
- > I have several OpenDoc parts that will read/write their data from/to the
- > network. There will also be a local cache file for that data. Since there
- > may be several instance of my OpenDoc parts open in different documents,
- > the parts cannot manage the cache file directly. So I thought having a
- > background task to serve all my OpenDoc parts, managing the cache file and
- > performing network communication.
- >
- > I see two methods to communicate information between my parts and my
- > background part server:
- >
- > 1. AppleEvents
- > 2. OD extensions
- >
- > What is the best way?
- >
- > If OD extensions is the best way, then how can a background task
- > communicate with the extension of an OpenDoc part?
-
- AppleEvents are the sanctioned mechanism for interprocess communication on
- the Mac.
-
- Alternatively, it should be possible, using a shared data section and
- shared memory (probably allocated out of the system heap), to create a
- shared library that implemented interprocess communication without apple
- events. It's more work, but it might provide better performance.
-
- Greg Friedman.
-
-
- ___________________________________________________________
- Greg Friedman ODF Engineering Apple Computer
-
-
-